package cn.jeeweb.web.modules.equipment.entity;

import cn.jeeweb.common.annotate.UiPropertyField;
import cn.jeeweb.common.flag.ObjectMark;
import cn.xjzn.framework_Core.ModuleServe;
import cn.xjzn.framework_Core.StaticControl;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.util.Date;

/**
 * Created by DELL on 2019/11/20.
 * 人工记录
 */
public class EqsRepairPersonnelwork implements ObjectMark {

    @TableId(value = "id", type = IdType.UUID)
    @UiPropertyField(moduleId = ModuleServe.eqsRepairModule,propertyName = "id",labelText="唯一标识",displayPosition = 0,canDisplay = false,isDisplayAsSearchResult = false,canBeNull=false)
    private String id;
    @TableField(value = "repairId")
    @UiPropertyField(moduleId = ModuleServe.eqsRepairModule,propertyName = "repairId",labelText="维修单ID",displayPosition = 1)
    private String repairId;
    @TableField(value = "executorId")
    @UiPropertyField(moduleId = ModuleServe.eqsRepairModule,propertyName = "executorId",labelText="执行人id",displayPosition = 2)
    private String executorId;
    @TableField(value = "arrivalTime")
    @UiPropertyField(moduleId = ModuleServe.eqsRepairModule,propertyName = "arrivalTime",labelText="到场时间",displayPosition = 3,staticControl = StaticControl.DATESTATICCONTROL)
    private Date arrivalTime;
    @TableField(value = "actualFinishTime")
    @UiPropertyField(moduleId = ModuleServe.eqsRepairModule,propertyName = "actualFinishTime",labelText="实际完成时间",displayPosition = 4,staticControl = StaticControl.DATESTATICCONTROL)
    private String actualFinishTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRepairId() {
        return repairId;
    }

    public void setRepairId(String repairId) {
        this.repairId = repairId;
    }

    public String getExecutorId() {
        return executorId;
    }

    public void setExecutorId(String executorId) {
        this.executorId = executorId;
    }

    public Date getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(Date arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public String getActualFinishTime() {
        return actualFinishTime;
    }

    public void setActualFinishTime(String actualFinishTime) {
        this.actualFinishTime = actualFinishTime;
    }
}
